package com.lpx.demo.demo.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;


@Data
@TableName(value = "base_menu")
public class BaseMenuEntity {
    private Long id;
    @TableField(value = "menu_name")
    private String menuName;
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss",timezone = "GMT+8")
    @TableField(value = "create_time")
    private String createTime;
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss",timezone = "GMT+8")
    @TableField(value = "update_time")
    private String updateTime;
    @TableField(value = "menu_url")
    private String menuUrl;
    private Long parentId;


}
